<?php

namespace App\Models;

use App\Library\Models\Entity;

class WithdrawModel extends Entity
{
    protected $table = 'withdraw';
    
    protected $casts = ['result' => 'json', 'config' => 'json', 'find' => 'json', 'extend' => 'json'];

    protected $fillable = [
        'id',
        'serial_number',
        'user_id',
        'payment_method_id',
        'name',
        'identity',
        'bank_name',
        'amount',
        'fee',
        'status',
        'status_arrival',
        'ok_reason',
        'fail_reason',
        'file_id',
        'remark',
        'result',
        'config',
        'find',
        'extend',
        'operate_id',
        'pay_at',
        'audit_at',
        'created_at',
        'updated_at'
    ];
}
